package com.adf.admin.service.impl;

import com.adf.admin.entity.PageResult;
import com.adf.admin.mapper.UserRoleQueryMapper;
import com.adf.admin.service.IUserRoleQueryService;
import com.adf.admin.vo.UserRoleQueryVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class UserRoleQueryServiceImpl implements IUserRoleQueryService {

    @Resource
    private UserRoleQueryMapper curUserRoleQueryMapper;


     @Override
     public IPage<UserRoleQueryVO> getPageList(Page<UserRoleQueryVO> page, UserRoleQueryVO queryVO) {
            // 直接调用 Mapper 方法，传递 Page 对象
            return curUserRoleQueryMapper.getPageList(page, queryVO);
      }

}
